]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Center app-menu label vertically
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 4 Mar 2015 19:11:29 +0000 (20:11 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 4 Mar 2015 19:54:49 +0000 (20:54 +0100)
Commit 333becef45 accidentally removed the y_align property, bring
it back.

https://bugzilla.gnome.org/show_bug.cgi?id=745110

js/ui/panel.js

index c1ca129750ebe8a8eaedfe1cd1fc92c89540c4c6..2e6ddab7378253164dabf44d5d1831b829f117a8 100644 (file)
@@ -117,7 +117,8 @@ const AppMenuButton = new Lang.Class({
         this._iconBox = new St.Bin({ style_class: 'app-menu-icon' });
         this._container.add_actor(this._iconBox);
 
-        this._label = new St.Label();
+        this._label = new St.Label({ y_expand: true,
+                                     y_align: Clutter.ActorAlign.CENTER });
         this._container.add_actor(this._label);
         this._arrow = PopupMenu.arrowIcon(St.Side.BOTTOM);
         this._container.add_actor(this._arrow);